<div class="view list-token-item">
<div class="span-10">
	<?php echo CHtml::link(CHtml::encode($data->name), array(
		'view',
		'id' => $data->id
	));
	?>
	<?php if ($data->otherName) { ?>
	(<?php echo $data->otherName; ?>)
	<?php } ?>
</div>
<?php if ($data->bossName || $data->bossPhone) { ?>

<div class="span-1 label">
老板:
</div>
<div class="span-8 last">
	<?php echo CHtml::encode($data->bossName); ?>
	<?php echo CHtml::encode($data->bossPhone); ?>
</div>
<?php } ?>
<div class="clear"></div>
<div class="span-2 label">
	<?php echo CHtml::encode($data->getAttributeLabel('address')); ?>:</div>
<div class="span-8">
	<?php echo CHtml::encode($data->address); ?>
</div>
<?php if ($data->contactName || $data->contactPhone) { ?>
<div class="span-1 label">
联系:
</div>
<div class="span-8 last">
	<?php echo CHtml::encode($data->contactName); ?>
	<?php echo CHtml::encode($data->contactPhone); ?>
</div>
<?php } ?>
<div class="clear"></div>

<div class="span-2 label">
	<?php echo CHtml::encode($data->getAttributeLabel('serviceScope')); ?>:
</div>
<div class="span-8">
	<?php echo CHtml::encode($data->serviceScope); ?>
</div>
<div class="span-1 label">
<?php echo CHtml::encode($data->getAttributeLabel('phone')); ?>:
</div>
<div class="span-4">
<?php echo CHtml::encode($data->phone); ?>&nbsp;
</div>
<div class="span-1 label">
<?php echo CHtml::encode($data->getAttributeLabel('fax')); ?>:
</div>
<div class="span-3 last">
	<?php echo CHtml::encode($data->fax); ?>
</div>
<div class="clear"></div>
<?php if ($data->note) { ?>
<div class="span-2 label">
	<?php echo CHtml::encode($data->getAttributeLabel('note')); ?>:
</div>
<div class="span-10">
	<?php echo CHtml::encode($data->note); ?>
</div>
<div class="clear"></div>
<?php } ?>

</div>
